package com.fadis.protocol;

/**
 * RedisFrame 转成  *3/r/n$3set\r\n$3key\r\n$5value
 */
public class CmdEncoder {

    public static CmdEncoder getDefault(){
        return new CmdEncoder();
    }

    public String encode(BaseRespProtocol cmd){
        return cmd.encode();
    }


}
